package com.nl.lib_project.datas

/** 作者: wangfei 创建时间: 2021/9/9 包名: com.nl.lib_project.datas 类名: LocalDb */
class LocalDbAutism {

  companion object {
    // 自闭症
    const val AUTISM = "autism"
    const val CABS = "CABS"
    const val ABC = "ABC"
    const val CARS = "CARS"
    const val CHAT = "CHAT"
    // 创伤后应急
    const val PTSD_ALL = "ptsd_all"
    const val IESR = "IESR"
    const val PCL5 = "PCL5"
    const val PCLC = "PCLC"
    const val BIPD = "BIPD"
    // 强迫症
    const val OBSESSIVECOMPULSIVE = "obsessivecompulsive"
    const val SCL90 = "SCL90"
    const val BOCS = "BOCS"
    // 失眠症
    const val INSOMNIA = "insomnia"
    const val ISI = "ISI"
    const val PSQI = "PSQI"
    // 药物成瘾
    const val DRUGGADDICTION = "drugaddiction"
    const val AUDIT = "AUDIT"
    const val DAST = "DAST"
    const val SCID = "SCID"
    // 郁抑症
    const val DEPRESSION = "depression"
    const val BDI = "BDI"
    const val HAMD = "HAMD"
    const val MADRS = "MADRS"
    const val PHQ9 = "PHQ9"
    const val SDS = "SDS"
    const val YYYS = "YYYS"
    const val WXYY = "WXYY"
    // 躁狂症
    const val BIPOLARDISORDER = "bipolardisorder"
    const val BRMS = "BRMS"
    const val HCL = "HCL"
    const val MDQ = "MDQ"
    // 焦虑症
    const val ANXIETYDISORDER = "anxietydisorder"
    const val HAMA = "HAMA"
    const val SAS = "SAS"
    const val STAI = "STAI"
    // 阿尔茨海默症
    const val ALOISALZHEIMER = "aloisalzheimer"
    const val CDR = "CDR"
    const val CDT = "CDT"
    const val MOCA = "MOCA"
    const val ADAS = "ADAS"
    const val MMSE = "MMSE"
    const val SP_KEY_USER_TYPE = "user_type"
    const val SP_KEY_UUID = "uuid"
    const val SP_PRIVATE_HOST = "private_host"
    const val SP_PROXY_HOST = "proxy_host"
    const val SP_PROXY_PORT = "proxy_port"
    const val SP_VALUE_USER_TYPE_PERSONAL = 0
    const val SP_VALUE_USER_TYPE_OTHER = 1
    const val SP_KEY_API_PROVINCE = "sp_key_api_province"
    const val SP_KEY_API_CITY = "sp_key_api_city"
    const val SP_KEY_API_CITY_CODE = "sp_key_api_city_code"
    const val SP_KEY_API_PROVINCE_CODE = "sp_key_api_province_code"
    // Token
    const val SP_KEY_TOKEN = "sp_key_token"

    // 一二级列表用来标识属于哪一层级 2为PopView
    const val IMG_TEXT_SPAN_SIZE_MIN = 2
    const val VIEW_SCROLL_DURATION_500L = 500L
    const val VIEW_SCROLL_DURATION_2000 = 2000
    const val VIEW_SCROLL_DURATION_1000 = 1000
    const val VIEW_SCROLL_DURATION_1000L = 1000L
    const val VIEW_SCROLL_DURATION_2000L = 2000L
    const val VIEW_SCROLL_DURATION_2500L = 2500L
    // 网络请求超时时间
    const val HTTP_CALL_TIME_OUT_TIME = 10000L
    // 网络请求报错重试时间
    const val HTTP_RETRY_TIME = 1000L
    // 下滑查看更多滚动的范围
    const val RESULT_SCROLL_VALUE = 600
    // 私有服务器测试连接时间
    const val PROXY_TEST_CONNECT_TIME = 300

    // 网络请求报错重试次数
    const val HTTP_RETRY_COUNT = 1

    const val PORT_MAX = 65535
    // ************************设备错误码*******************************//
    /** 设备未授权 */
    const val DEVICE_ID_ILLEGAL = 600
    const val DEVICE_ID_UNCERTIFIED = 601

    // ************************EventBus*******************************//
    /** 刷新数据 */
    const val REFRESH_HTTP_CODE = 1
    /** 重新答题 */
    const val ANSWER_QUESTION_AGAIN = 2
    /** 有网络后再次刷新当前的主页 */
    const val REFRESH_HTTP_WHEN_HAS_NET = 3
    /** 当前如果5秒后网络没有连接则显示网络断开错误页面 */
    const val MAIN_SHOW_NET_ERROR = 4
  }
}
